-- GENERATED SPELL FOR [Healthy Spore] --


function spell0_33215(pUnit, Event) --@Potent Pheromones,n/a--
pUnit:FullCastSpellOnTarget(62541,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33215', 0, 1)
end

function Sorts_33215(pUnit, Event)
local choix_sorts_33215 = math.random(0, 0)
if choix_sorts_33215 == 0 then
pUnit:RegisterEvent('spell0_33215', 1, 1)
end
end

function mob33215_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33215', math.random(1500, 3000), 1)
end

function mob33215_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33215_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33215_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33215, 1, 'mob33215_Action')
RegisterUnitEvent(33215, 2, 'mob33215_Leave')
RegisterUnitEvent(33215, 3, 'mob33215_Kill')
RegisterUnitEvent(33215, 4, 'mob33215_Die')
